<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>文章详情</title>
<link type="text/css" rel="stylesheet" href="__STATIC__/index/css/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="__STATIC__/index/css/common.css">
<link type="text/css" rel="stylesheet" href="__STATIC__/index/css/list.css">
<script type="text/javascript" src="__STATIC__/index/js/jquery.min.js"></script>
<script type="text/javascript" src="__STATIC__/index/js/bootstrap.min.js"></script>
<script type="text/javascript" src="__STATIC__/index/js/superslide.2.1.js"></script>
</head>


<body class="page_newsDetail">


<!--  header  -->
<div class="header clearfix">
	
	<!--  焦点图  -->
	<div class="fullSlide text-center clearfix">
		<div class="bd">
			<ul class="list-unstyled">
				<li _src="url(__STATIC__/index/img/banner01.jpg)" style="background: #0A1D43 center center no-repeat;"><a href="#" target="_blank"></a></li>
				<li _src="url(__STATIC__/index/img/banner02.jpg)" style="background: #C30D23 center center no-repeat;"><a href="#" target="_blank"></a></li>
				<li _src="url(__STATIC__/index/img/banner03.jpg)" style="background: #7D0AE3 center center no-repeat;"><a href="#" target="_blank"></a></li>
			</ul>
		</div>
		<div class="hd"><ul></ul></div>
	</div>
	<!--  焦点图 end  -->
	
	<!--  头部导航  -->
	<div class="top-nav-bg"></div>
	<div class="top-nav clearfix">
		<div class="width-common margin-auto">
			<div class="nav-left pull-left">
				<a href="#" target="_blank" class="logo pull-left"></a>
				<ul class="menu pull-left list-unstyled">
					<li><a href="{:url('index/index')}" target="_blank">首页</a></li>
					<li><a href="{:url('index/li',array('parent_id'=>3))}" target="_blank">膳食</a></li>
					<li><a href="{:url('index/li',array('parent_id'=>4))}" target="_blank">运动</a></li>
			
				</ul>
			</div>
			<div class="nav-right pull-right">
				<ul class="menu-right pull-right list-unstyled">
					<li class="login"><a href="{:url('login/login')}" target="_blank">登录</a></li>
					<li class="login"><a href="{:url('login/reg')}" target="_blank">注册</a></li>
				
				</ul>
			</div>
		</div>
	</div>
	<!--  头部导航 end  -->
</div>
<!--  header end  -->


<!--  状态栏  -->
<div class="status-bar clearfix bg-fff">
	<div class="width-common margin-auto">
		<h5 class="title pull-left">文章详情</h5>
		<!--  当前位置  -->
		<div class="location pull-right">
			<span class="name pull-left">您当前位置：</span>
			<a href="#" target="_blank" class="upper">首页</a>
			<span class="upper">文章详情</span>
		</div>
		<!--  当前位置 end  -->
	</div>
</div>
<!--  状态栏 end  -->


<!--  container-wrap  -->
<div class="container-wrap width-common margin-auto clearfix">
	
	<!--  页面左边  -->
	<div class="pull-left width-left">
		
		<!--  文章  -->
		<div class="article clearfix bg-fff oh mt30">
			<div class="title clearfix text-center oh">
				<h1>{$list['title']}</h1>
				<p>
					<span>作者：{$list['writer']}</span>|
					<span>{$list['create_time']}</span>|
					<!--<span class="view">3242</span>|
					<span class="command">35</span>-->
				</p>
			</div>
			<div class="content">
				{$list['content']|html_entity_decode}
			</div>
		</div>
		<!--  文章 end  -->

		<!--  评论  -->
		<div class="comment-list clearfix bg-fff">
			<div class="title clearfix">
				<h5 class="pull-left">评论</h5>
				<span class="pull-right">共<i>{$count}</i>条评论</span>
			</div>
			{volist name="list1" id="vo"}
			<dl class="list04">
				<div class="photo"></div>
				<dt>
					<h5 class="pull-left"><a href="#" target="_blank">{$vo.username}</a></h5>
					<span class="pull-left">{$vo.create_time}</span>
				</dt>
				<dd>{$vo.mes}</dd>
			</dl>
			{/volist}
			<div class="pager clearfix tc mt30">
				{$list1->render()}
			</div>

		</div>
		<!--  评论 end  -->

		<!--  我要评论  -->
		<div class="to-comment clearfix bg-fff">
			<form action="{:url('index/message')}" method="post">
				<textarea class="form-control" rows="3" name="content" id="name"></textarea>
				<input type="hidden" value="{$list['art_id']}" name="id">
				 <div class="form-group">
				    <div class="col-sm-offset-2 col-sm-10">
				      <button type="submit" class="btn btn-info" style="margin: 20px;float: right;">发表评论</button>
				    </div>
  				</div>
			</form>

		</div>
		<!--  我要评论 end  -->


	</div>
	<!--  页面左边 end  -->

		
	<!--  页面右边  -->
	

		<!--  登录窗口  -->

		<!--  登录窗口 end  -->

		<!--  行业资讯  -->
		
		<!--  行业资讯 end  -->

	
	<!--  页面右边 end  -->

</div>
<!--  container-wrap end  -->


<!--  footer  -->
{include file="public/footer"}
<!--  footer end  -->

<!--  弹出登录窗口  -->

<!--  弹出登录窗口 end  -->


<script type="text/javascript">
//头部焦点图代码
$(".fullSlide").slide({
	titCell: ".hd ul",
	mainCell: ".bd ul",
	effect: "fold",
	autoPlay: true,
	autoPage: true,
	trigger: "click",
	startFun: function(i) {
		var curLi = jQuery(".fullSlide .bd li").eq(i);
		if ( !! curLi.attr("_src")) {
			curLi.css("background-image", curLi.attr("_src")).removeAttr("_src")
		}
	}
});
</script>


</body>
</html>
